<T:ViewBase x:Class="WPFExcelReport.TQVW_ABPOS02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=KAUF:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.KAUF}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AUFTYP:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.AUFTYP}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PAUF:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PAUF}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PKRS:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PKRS}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PLFD:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PLFD}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PPOS:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PPOS}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=ARTST:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.ARTST}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PART:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PART}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PVAR:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PVAR}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PCOLOR:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PCOLOR}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=PDESS:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwQVW_ABPOS.PDESS}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsQVW_ABPOS,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwQVW_ABPOS}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwQVW_ABPOS, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="KAUF"
                                    Binding="{Binding Path=KAUF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=KAUF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AUFTYP"
                                    Binding="{Binding Path=AUFTYP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AUFTYP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PAUF"
                                    Binding="{Binding Path=PAUF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PAUF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PKRS"
                                    Binding="{Binding Path=PKRS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PKRS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PLFD"
                                    Binding="{Binding Path=PLFD, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PLFD}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PPOS"
                                    Binding="{Binding Path=PPOS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PPOS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ARTST"
                                    Binding="{Binding Path=ARTST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ARTST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PART"
                                    Binding="{Binding Path=PART, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PART}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PVAR"
                                    Binding="{Binding Path=PVAR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PVAR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PCOLOR"
                                    Binding="{Binding Path=PCOLOR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PCOLOR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PDESS"
                                    Binding="{Binding Path=PDESS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PDESS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PDCWY"
                                    Binding="{Binding Path=PDCWY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PDCWY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PFINISH"
                                    Binding="{Binding Path=PFINISH, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PFINISH}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PSIZE"
                                    Binding="{Binding Path=PSIZE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PSIZE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="COLORGRP"
                                    Binding="{Binding Path=COLORGRP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=COLORGRP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PLIEFNR"
                                    Binding="{Binding Path=PLIEFNR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PLIEFNR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PPMTR"
                                    Binding="{Binding Path=PPMTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PPMTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PPKG"
                                    Binding="{Binding Path=PPKG, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PPKG}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY1"
                                    Binding="{Binding Path=PQTY1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY2"
                                    Binding="{Binding Path=PQTY2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY3"
                                    Binding="{Binding Path=PQTY3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY4"
                                    Binding="{Binding Path=PQTY4, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY4}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY5"
                                    Binding="{Binding Path=PQTY5, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY5}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY6"
                                    Binding="{Binding Path=PQTY6, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY6}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY7"
                                    Binding="{Binding Path=PQTY7, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY7}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PQTY8"
                                    Binding="{Binding Path=PQTY8, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PQTY8}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PEMTR"
                                    Binding="{Binding Path=PEMTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PEMTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PEKG"
                                    Binding="{Binding Path=PEKG, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PEKG}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPLIEFDAT"
                                    Binding="{Binding Path=ABPLIEFDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPLIEFDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="DYEAR"
                                    Binding="{Binding Path=DYEAR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=DYEAR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="DMONTH"
                                    Binding="{Binding Path=DMONTH, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=DMONTH}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="DDAY"
                                    Binding="{Binding Path=DDAY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=DDAY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="DQUARTER"
                                    Binding="{Binding Path=DQUARTER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=DQUARTER}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPSTARTDAT"
                                    Binding="{Binding Path=ABPSTARTDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPSTARTDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="BYEAR"
                                    Binding="{Binding Path=BYEAR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=BYEAR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="BMONTH"
                                    Binding="{Binding Path=BMONTH, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=BMONTH}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="BDAY"
                                    Binding="{Binding Path=BDAY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=BDAY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="BQUARTER"
                                    Binding="{Binding Path=BQUARTER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=BQUARTER}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPENDDAT"
                                    Binding="{Binding Path=ABPENDDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPENDDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="EYEAR"
                                    Binding="{Binding Path=EYEAR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=EYEAR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="EMONTH"
                                    Binding="{Binding Path=EMONTH, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=EMONTH}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="EDAY"
                                    Binding="{Binding Path=EDAY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=EDAY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="EQUARTER"
                                    Binding="{Binding Path=EQUARTER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=EQUARTER}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PFLOW"
                                    Binding="{Binding Path=PFLOW, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PFLOW}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PSTATUS"
                                    Binding="{Binding Path=PSTATUS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PSTATUS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PSTATUSCODE"
                                    Binding="{Binding Path=PSTATUSCODE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PSTATUSCODE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPWSSTA"
                                    Binding="{Binding Path=ABPWSSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPWSSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPAPSTA"
                                    Binding="{Binding Path=ABPAPSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPAPSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPRZSTA"
                                    Binding="{Binding Path=ABPRZSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPRZSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPWPSTA"
                                    Binding="{Binding Path=ABPWPSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPWPSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPWBSTA"
                                    Binding="{Binding Path=ABPWBSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPWBSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ABPABSTA"
                                    Binding="{Binding Path=ABPABSTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ABPABSTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PEND"
                                    Binding="{Binding Path=PEND, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PEND}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FENDDAT"
                                    Binding="{Binding Path=FENDDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FENDDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FYEAR"
                                    Binding="{Binding Path=FYEAR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FYEAR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FMONTH"
                                    Binding="{Binding Path=FMONTH, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FMONTH}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FDAY"
                                    Binding="{Binding Path=FDAY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FDAY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FQUARTER"
                                    Binding="{Binding Path=FQUARTER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FQUARTER}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PFCOST"
                                    Binding="{Binding Path=PFCOST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PFCOST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PMCOST"
                                    Binding="{Binding Path=PMCOST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PMCOST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PMBOMCOST"
                                    Binding="{Binding Path=PMBOMCOST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PMBOMCOST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PRODCOST"
                                    Binding="{Binding Path=PRODCOST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PRODCOST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="PROFIT"
                                    Binding="{Binding Path=PROFIT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=PROFIT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ARTCOSTKG"
                                    Binding="{Binding Path=ARTCOSTKG, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ARTCOSTKG}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ARTCOSTMTR"
                                    Binding="{Binding Path=ARTCOSTMTR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ARTCOSTMTR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="ARTCOST"
                                    Binding="{Binding Path=ARTCOST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=ARTCOST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FOK"
                                    Binding="{Binding Path=FOK, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FOK}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="RTIME"
                                    Binding="{Binding Path=RTIME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=RTIME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="RCOST"
                                    Binding="{Binding Path=RCOST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=RCOST}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
